From: Jochen Sprickerhof Date: Sat, 10 Oct 2015 06:50:21 +0000 (+0200) Subject: Add patch for Eigen build error X-Git-Tag: archive/raspbian/1.14.0+dfsg-2+rpi1^2~202 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=daa07c3310417da31f8397c5934ddbc44a15d886;p=pcl.git Add patch for Eigen build error --- diff --git a/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch new file mode 100644 index 00000000..34e52396 --- /dev/null +++ b/debian/patches/0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch @@ -0,0 +1,21 @@ +From: Jochen Sprickerhof +Date: Sat, 10 Oct 2015 08:47:01 +0200 +Subject: Fix THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS + +--- + registration/include/pcl/registration/impl/ppf_registration.hpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/registration/include/pcl/registration/impl/ppf_registration.hpp b/registration/include/pcl/registration/impl/ppf_registration.hpp +index fc752a4..2203862 100644 +--- a/registration/include/pcl/registration/impl/ppf_registration.hpp ++++ b/registration/include/pcl/registration/impl/ppf_registration.hpp +@@ -317,7 +317,7 @@ pcl::PPFRegistration::posesWithinErrorBounds (Eigen::A + Eigen::Affine3f &pose2) + { + float position_diff = (pose1.translation () - pose2.translation ()).norm (); +- Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse () * pose2.rotation ()); ++ Eigen::AngleAxisf rotation_diff_mat (pose1.rotation ().inverse ().lazyProduct (pose2.rotation ())); + + float rotation_diff_angle = fabsf (rotation_diff_mat.angle ()); + diff --git a/debian/patches/series b/debian/patches/series index 2a57aa74..ccc1c73a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 0007-Fix-for-boost-1.57.patch 0008-Fixes-manual_registration-and-segmentation-demo-for-.patch 0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch +0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch